/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * supervision_rh_alta.java
 *
 * Created on 4/05/2011, 06:19:59 PM
 */

package si_rhnominafacil;


import java.sql.*;
import javax.swing.*;
import java.awt.*;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Calendar;

import java.text.ParseException;
import java.text.*;
/**
 *
 * @author Michelle
 */
public class rh_empleados_alta extends javax.swing.JDialog {

     si_conectar x = new si_conectar() ;
    ResultSet rs = null;
 
    int sexo=1,combohora=0;
    private SimpleDateFormat formateadoresta = new SimpleDateFormat("dd-MM-yyyy");
    /** Creates new form supervision_rh_alta */
    public rh_empleados_alta(java.awt.Frame parent, boolean modal) {
        super(parent, modal);
        initComponents();
         this.loadcombodepa();
        this.loadcombostatus();
        this.loadcombopuestos();
        this.loadcombotiposcausabaja();
        this.loadcomboestadocivil();
        this. loadcombo_diadescanso();
        this.jrbtn_sexomasculino.requestFocus();
        this.jcmbx_empjefeinme.addItem("0:NO DISPONIBLE");
        this.jcmbx_clasificacion.addItem("1:General");
        this.buttonGroup1.setSelected(jrbtn_sexomasculino.getModel(), true);
        Calendar fechaini = Calendar.getInstance(); // obtiene la fecha actual
        this.jdc_fechaingreso.setDate(fechaini.getTime());
        this.jdc_fechanaci.setDate(fechaini.getTime());
        this.jcmbx_departamento.addItem(si_variables.getdepartamento()+":"+ si_variables.getdepartamento_des());
        this.carga_datos_depaentrada(si_variables.getdepartamento());
        combohora=1;

    }

    private void guarda_empleado()
{
          //invoco al metodo que trae el recordset de datos
       //voy por el detalle del documento
        SimpleDateFormat formato = new SimpleDateFormat("yyyy-MM-dd");
        String pFechain = formato.format(this.jdc_fechaingreso.getDate());//fecha final de reporte

        String pFechana = formato.format(this.jdc_fechanaci.getDate());//fecha final de reporte
        String arreglo_depa[]=this.jcmbx_departamento.getSelectedItem().toString().split(":");
        int depa=Integer.valueOf(arreglo_depa[0]);
        String arreglo_puesto[]=this.jcmbx_puesto.getSelectedItem().toString().split(":");
        int puesto=Integer.valueOf(arreglo_puesto[0]);
        String arreglo_jefeinme[]=this.jcmbx_empjefeinme.getSelectedItem().toString().split(":");
        int jefeinme=Integer.valueOf(arreglo_jefeinme[0]);
        String arreglo_status[]=this.jcmbx_status.getSelectedItem().toString().split(":");
        int status=Integer.valueOf(arreglo_status[0]);
        String arreglo_razon[]=this.jcmbx_razonbaja.getSelectedItem().toString().split(":");
        int razon=Integer.valueOf(arreglo_razon[0]);
        String arreglo_clasif[]=this.jcmbx_clasificacion.getSelectedItem().toString().split(":");
        int clasif=Integer.valueOf(arreglo_clasif[0]);
        String arreglo_estadocivil[]=this.jcmbx_stadocivil.getSelectedItem().toString().split(":");
        int stadocivil=Integer.valueOf(arreglo_estadocivil[0]);

           String diades[]=this.jcmbx_ope_diadescanso.getSelectedItem().toString().split(":");

       String texto="select * from x1_supervision_empleados_insertv2('"+this.jtf_empnombre.getText().toUpperCase().trim()+"','"+this.jtf_empapat.getText().toUpperCase().trim()+"','"+this.jtf_empamat.getText().toUpperCase().trim()+"','"+this.jtf_domcalle.getText().toUpperCase().trim()+"','"+this.jtf_domcolonia.getText().toUpperCase().trim()+"','"+this.jtf_dompobla.getText().toUpperCase().trim()+"','"+this.jtf_domcod.getText().toUpperCase().trim()+"','"+this.jtf_codigoidentifica.getText().trim()+"',"+depa+","+puesto+","+status+",'"+this.jtf_empfoto.getText().toUpperCase().trim()+"',"+razon+","+clasif+","+sexo+","+stadocivil+",'"+this.jtf_domtelefono.getText().toUpperCase().trim()+"','"+this.jtf_email.getText().trim()+"','"+pFechain+"','"+pFechana+"','"+this.jtf_asist_horaent_pro.getText()+":00"+"','"+this.jftf_asist_salidaprog.getText()+":00"+"','"+this.jtf_asist_horaen_dcom.getText()+":00"+"','"+this.jtf_asist_horasa_dcom.getText()+":00"+"','"+this.jtf_minutoscomida.getText()+"','"+diades[0]+"')";
       System.out.println(texto);

       String confirma="";

        try
         {
            rs = x.sieuno_executediversosv2(texto,si_variables.getconexiongral());
            while (rs.next())
                {
                     confirma=rs.getString(1);
                }
        }
        catch(Exception e)
        {
            System.out.println(e.getMessage());
        }
       if (confirma.equals("1"))
              {
                JOptionPane.showMessageDialog(null,"Gracias Registro Creado Correctamente", "Sistema Integral Indicador",1);

              }
         else
              {
                JOptionPane.showMessageDialog(null,"Error Consulte con Su Administrador", "Sistema Integral Indicadores",1);

              }
}


    private void loadcombodepa(){


            try
            {
               rs = x.sieuno_executediversosv2("select * from x1_supervision_tareas_departamentos() as (id smallint,descrip character varying(80));",si_variables.getconexiongral());
               while (rs.next())
                    {
                      this.jcmbx_departamento.addItem(rs.getString("id")+":"+rs.getString("descrip"));
                    }
             }
            catch(Exception e)
            {
                System.out.println(e.getMessage());
            }
    }
   private void loadcombostatus(){

         // rs = x.sieuno_executediversosv2("select * from x1_supervision_empleados_status() as (id smallint,descrip character varying(25));",si_variables.getconexiongral());
           // try
            //{

              // while (rs.next())
                //    {
                      //this.jcmbx_status.addItem(rs.getString("id")+":"+rs.getString("descrip"));


                    //}
             //}
            //catch(Exception e)
            //{
              //  System.out.println(e.getMessage());
            //}
           this.jcmbx_status.addItem("1:ACTIVO");
    }
private void loadcombopuestos()
    {

            try
            {
                rs = x.sieuno_executediversosv2("select * from x1_supervision_empleados_puestos() as (id smallint,descrip text);",si_variables.getconexiongral());
               while (rs.next())
                    {
                      this.jcmbx_puesto.addItem(rs.getString("id")+":"+rs.getString("descrip"));
                    }
             }
            catch(Exception e)
             {
                System.out.println(e.getMessage());
             }
    }
private void loadcombotiposcausabaja(){


            try
            {
                rs = x.sieuno_executediversosv2("select * from x1_supervision_empleados_tipocausabaja() as (id smallint,descrip character varying(25));",si_variables.getconexiongral());
               while (rs.next())
                    {
                      this.jcmbx_razonbaja.addItem(rs.getString("id")+":"+rs.getString("descrip"));


                    }
             }
            catch(Exception e)
            {
                System.out.println(e.getMessage());
            }
    }

private void loadcomboestadocivil(){


            try
            {
                rs = x.sieuno_executediversosv2("select * from x1_supervision_empleados_estadocivil() as (id smallint,descrip character varying(25));",si_variables.getconexiongral());
               while (rs.next())
                    {
                      this.jcmbx_stadocivil.addItem(rs.getString("id")+":"+rs.getString("descrip"));


                    }
             }
            catch(Exception e)
            {
                System.out.println(e.getMessage());
            }
    }


private void loadcombo_diadescanso()
 {

            this.jcmbx_ope_diadescanso.addItem("7"+":"+"No Asignado");
            this.jcmbx_ope_diadescanso.addItem("0"+":"+"DOMINGO");
            this.jcmbx_ope_diadescanso.addItem("1"+":"+"LUNES");
            this.jcmbx_ope_diadescanso.addItem("2"+":"+"MARTES");
            this.jcmbx_ope_diadescanso.addItem("3"+":"+"MIERCOLES");
            this.jcmbx_ope_diadescanso.addItem("4"+":"+"JUEVES");
            this.jcmbx_ope_diadescanso.addItem("5"+":"+"VIERNES");
            this.jcmbx_ope_diadescanso.addItem("6"+":"+"SABADO");

    }

private void carga_datos_idbuscasieuno(String codigo)
    {
       //invoco al metodo que trae el recordset de datos
    int encontro=0;
    String realiza="",idrealiza="";

        try
         {
            rs = x.sieuno_executediversosv2("select * from x1_supervision_empleados_buscaidsieuno('"+codigo+"') as (id integer,nom text,pat text);",si_variables.getconexiongral());
            while (rs.next())
                {
                    encontro=1;
                    idrealiza=rs.getString("id");
                    realiza=rs.getString("nom")+" "+rs.getString("pat");
                }

        }
        catch(Exception e)
        {
            System.out.println(e.getMessage());
        }
       if (encontro==1)
            {
                   JOptionPane.showMessageDialog(null,"Identificacion ya existe:"+idrealiza+" "+realiza,"Verifica Identificacion : Ayuda",1);
            }
       else
            {
                   JOptionPane.showMessageDialog(null,"Correcto codigo Disponible", "Verifica Identificacion : Ayuda",1);
            }
      }
private void carga_datos_depaentrada(String codigo)
    {
       //invoco al metodo que trae el recordset de datos
    int encontro=0;
    String realiza="",idrealiza="";

        try
         {
            rs = x.sieuno_executediversosv2("select * from x1_supervision_departamentos_catalogo(3,'"+codigo+"','') as (he time);",si_variables.getconexiongral());
            while (rs.next())
                {
                    encontro=1;
         
                   this.jtf_asist_horaent_pro.setText(rs.getString("he").substring(0, 5));
                }

        }
        catch(Exception e)
        {
            System.out.println(e.getMessage());
        }

      }

private String  fechaamericana(Date fecha) {
       SimpleDateFormat formateadorestaeuropa = new SimpleDateFormat("yyyy-MM-dd");
       String cadenafecha="";

       cadenafecha= formateadorestaeuropa.format(fecha);
       return cadenafecha;

    }
private String DiaSemana(String fe) {
      //recibe un la fecha en strin formato yyyy-MM-dd
       String dia = "";
       java.util.Date fecha=null;
       try{
             fecha = formateadoresta.parse(fe);
          }
        catch (ParseException e){
           //Error, la cadena de texto no se puede convertir en fecha.
          }
        Calendar cal= Calendar.getInstance();
        cal.setTime(fecha);

        //ojo para establecer o recetear cada parte de la fecha por separado
        //cal.set(Calendar.YEAR, fecha.getYear());
        //cal.set(Calendar.MONTH, fecha.getMonth());
        //cal.set(Calendar.DAY_OF_MONTH, fecha.getDay());
        int diaInt = cal.get(Calendar.DAY_OF_WEEK);
        switch (diaInt) {
            case 1:
                dia = "Domingo";
                break;
            case 2:
                dia = "Lunes";
                break;
            case 3:
                dia = "Martes";
                break;
            case 4:
                dia = "Miercoles";
                break;
            case 5:
                dia = "Jueves";
                break;
            case 6:
                dia = "Viernes";
                break;
            case 7:
                dia = "Sabado";
                break;
        }
        return dia;
    }


    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        buttonGroup1 = new javax.swing.ButtonGroup();
        jTabbedPane1 = new javax.swing.JTabbedPane();
        jPanel1 = new javax.swing.JPanel();
        jPanel5 = new javax.swing.JPanel();
        jLabel8 = new javax.swing.JLabel();
        jLabel9 = new javax.swing.JLabel();
        jLabel10 = new javax.swing.JLabel();
        jLabel11 = new javax.swing.JLabel();
        jLabel12 = new javax.swing.JLabel();
        jtf_domcalle = new javax.swing.JTextField();
        jtf_domcolonia = new javax.swing.JTextField();
        jtf_dompobla = new javax.swing.JTextField();
        jtf_domcod = new javax.swing.JTextField();
        jtf_domtelefono = new javax.swing.JTextField();
        jLabel21 = new javax.swing.JLabel();
        jtf_empfoto = new javax.swing.JTextField();
        jLabel23 = new javax.swing.JLabel();
        jtf_email = new javax.swing.JTextField();
        jLabel17 = new javax.swing.JLabel();
        jrbtn_sexomasculino = new javax.swing.JRadioButton();
        jrbtn_sexofemenino = new javax.swing.JRadioButton();
        jLabel22 = new javax.swing.JLabel();
        jcmbx_stadocivil = new javax.swing.JComboBox();
        jtf_empamat = new javax.swing.JTextField();
        jLabel7 = new javax.swing.JLabel();
        jtf_empapat = new javax.swing.JTextField();
        jLabel6 = new javax.swing.JLabel();
        jtf_empnombre = new javax.swing.JTextField();
        jLabel5 = new javax.swing.JLabel();
        jPanel7 = new javax.swing.JPanel();
        jLabel13 = new javax.swing.JLabel();
        jcmbx_departamento = new javax.swing.JComboBox();
        jLabel14 = new javax.swing.JLabel();
        jcmbx_puesto = new javax.swing.JComboBox();
        jLabel15 = new javax.swing.JLabel();
        jcmbx_clasificacion = new javax.swing.JComboBox();
        jLabel16 = new javax.swing.JLabel();
        jcmbx_empjefeinme = new javax.swing.JComboBox();
        jLabel19 = new javax.swing.JLabel();
        jcmbx_status = new javax.swing.JComboBox();
        jLabel20 = new javax.swing.JLabel();
        jcmbx_razonbaja = new javax.swing.JComboBox();
        jLabel18 = new javax.swing.JLabel();
        jtf_codigoidentifica = new javax.swing.JTextField();
        jchbx_verificacodigo = new javax.swing.JCheckBox();
        jLabel1 = new javax.swing.JLabel();
        jdc_fechaingreso = new com.toedter.calendar.JDateChooser();
        jLabel54 = new javax.swing.JLabel();
        jtf_asist_horaent_pro = new javax.swing.JFormattedTextField();
        jLabel55 = new javax.swing.JLabel();
        jftf_asist_salidaprog = new javax.swing.JFormattedTextField();
        jLabel56 = new javax.swing.JLabel();
        jtf_minutoscomida = new javax.swing.JTextField();
        jLabel57 = new javax.swing.JLabel();
        jtf_asist_horaen_dcom = new javax.swing.JFormattedTextField();
        jLabel58 = new javax.swing.JLabel();
        jtf_asist_horasa_dcom = new javax.swing.JFormattedTextField();
        jLabel59 = new javax.swing.JLabel();
        jcmbx_ope_diadescanso = new javax.swing.JComboBox();
        jbtn_salir = new javax.swing.JButton();
        jbtn_ayuda = new javax.swing.JButton();
        jbtn_guardacambios = new javax.swing.JButton();
        jdc_fechanaci = new com.toedter.calendar.JDateChooser();
        jLabel33 = new javax.swing.JLabel();
        jMenuBar1 = new javax.swing.JMenuBar();
        jMenu1 = new javax.swing.JMenu();
        jmni_salir = new javax.swing.JMenuItem();
        jMenu2 = new javax.swing.JMenu();
        jmni_escape = new javax.swing.JMenuItem();

        setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
        org.jdesktop.application.ResourceMap resourceMap = org.jdesktop.application.Application.getInstance(si_rhnominafacil.Si_rhnominafacilApp.class).getContext().getResourceMap(rh_empleados_alta.class);
        setTitle(resourceMap.getString("Form.title")); // NOI18N
        setName("Form"); // NOI18N

        jTabbedPane1.setName("jTabbedPane1"); // NOI18N

        jPanel1.setName("jPanel1"); // NOI18N

        jPanel5.setBorder(javax.swing.BorderFactory.createTitledBorder(resourceMap.getString("jPanel5.border.title"))); // NOI18N
        jPanel5.setName("jPanel5"); // NOI18N

        jLabel8.setText(resourceMap.getString("jLabel8.text")); // NOI18N
        jLabel8.setName("jLabel8"); // NOI18N

        jLabel9.setText(resourceMap.getString("jLabel9.text")); // NOI18N
        jLabel9.setName("jLabel9"); // NOI18N

        jLabel10.setText(resourceMap.getString("jLabel10.text")); // NOI18N
        jLabel10.setName("jLabel10"); // NOI18N

        jLabel11.setText(resourceMap.getString("jLabel11.text")); // NOI18N
        jLabel11.setName("jLabel11"); // NOI18N

        jLabel12.setText(resourceMap.getString("jLabel12.text")); // NOI18N
        jLabel12.setName("jLabel12"); // NOI18N

        jtf_domcalle.setName("jtf_domcalle"); // NOI18N
        jtf_domcalle.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jtf_domcalleActionPerformed(evt);
            }
        });

        jtf_domcolonia.setName("jtf_domcolonia"); // NOI18N
        jtf_domcolonia.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jtf_domcoloniaActionPerformed(evt);
            }
        });

        jtf_dompobla.setName("jtf_dompobla"); // NOI18N
        jtf_dompobla.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jtf_dompoblaActionPerformed(evt);
            }
        });

        jtf_domcod.setName("jtf_domcod"); // NOI18N
        jtf_domcod.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jtf_domcodActionPerformed(evt);
            }
        });

        jtf_domtelefono.setName("jtf_domtelefono"); // NOI18N
        jtf_domtelefono.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jtf_domtelefonoActionPerformed(evt);
            }
        });

        jLabel21.setText(resourceMap.getString("jLabel21.text")); // NOI18N
        jLabel21.setName("jLabel21"); // NOI18N

        jtf_empfoto.setName("jtf_empfoto"); // NOI18N
        jtf_empfoto.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jtf_empfotoActionPerformed(evt);
            }
        });

        jLabel23.setText(resourceMap.getString("jLabel23.text")); // NOI18N
        jLabel23.setName("jLabel23"); // NOI18N

        jtf_email.setName("jtf_email"); // NOI18N
        jtf_email.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jtf_emailActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout jPanel5Layout = new javax.swing.GroupLayout(jPanel5);
        jPanel5.setLayout(jPanel5Layout);
        jPanel5Layout.setHorizontalGroup(
            jPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel5Layout.createSequentialGroup()
                .addGroup(jPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel5Layout.createSequentialGroup()
                        .addGroup(jPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jLabel8)
                            .addComponent(jLabel9)
                            .addComponent(jLabel10)
                            .addComponent(jLabel21))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(jPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                                .addComponent(jtf_dompobla, javax.swing.GroupLayout.Alignment.LEADING)
                                .addComponent(jtf_domcolonia, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.PREFERRED_SIZE, 184, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addComponent(jtf_empfoto, javax.swing.GroupLayout.PREFERRED_SIZE, 120, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jtf_domcalle, javax.swing.GroupLayout.DEFAULT_SIZE, 285, Short.MAX_VALUE)))
                    .addGroup(jPanel5Layout.createSequentialGroup()
                        .addGroup(jPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jLabel11)
                            .addComponent(jLabel23))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                            .addGroup(jPanel5Layout.createSequentialGroup()
                                .addComponent(jtf_domcod, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                .addComponent(jLabel12)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(jtf_domtelefono, javax.swing.GroupLayout.PREFERRED_SIZE, 198, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addComponent(jtf_email))))
                .addGap(260, 260, 260))
        );
        jPanel5Layout.setVerticalGroup(
            jPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel5Layout.createSequentialGroup()
                .addGroup(jPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel8)
                    .addComponent(jtf_domcalle, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(18, 18, 18)
                .addGroup(jPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel9)
                    .addComponent(jtf_domcolonia, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(18, 18, 18)
                .addGroup(jPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel10)
                    .addComponent(jtf_dompobla, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(18, 18, 18)
                .addGroup(jPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel11)
                    .addComponent(jtf_domcod, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel12)
                    .addComponent(jtf_domtelefono, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(18, 18, 18)
                .addGroup(jPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel23)
                    .addComponent(jtf_email, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 18, Short.MAX_VALUE)
                .addGroup(jPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel21)
                    .addComponent(jtf_empfoto, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
        );

        jLabel17.setFont(resourceMap.getFont("jLabel17.font")); // NOI18N
        jLabel17.setText(resourceMap.getString("jLabel17.text")); // NOI18N
        jLabel17.setName("jLabel17"); // NOI18N

        buttonGroup1.add(jrbtn_sexomasculino);
        jrbtn_sexomasculino.setText(resourceMap.getString("jrbtn_sexomasculino.text")); // NOI18N
        jrbtn_sexomasculino.setActionCommand(resourceMap.getString("jrbtn_sexomasculino.actionCommand")); // NOI18N
        jrbtn_sexomasculino.setName("jrbtn_sexomasculino"); // NOI18N
        jrbtn_sexomasculino.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jrbtn_sexomasculinoActionPerformed(evt);
            }
        });

        buttonGroup1.add(jrbtn_sexofemenino);
        jrbtn_sexofemenino.setText(resourceMap.getString("jrbtn_sexofemenino.text")); // NOI18N
        jrbtn_sexofemenino.setActionCommand(resourceMap.getString("jrbtn_sexofemenino.actionCommand")); // NOI18N
        jrbtn_sexofemenino.setName("jrbtn_sexofemenino"); // NOI18N
        jrbtn_sexofemenino.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jrbtn_sexofemeninoActionPerformed(evt);
            }
        });

        jLabel22.setText(resourceMap.getString("jLabel22.text")); // NOI18N
        jLabel22.setName("jLabel22"); // NOI18N

        jcmbx_stadocivil.setName("jcmbx_stadocivil"); // NOI18N
        jcmbx_stadocivil.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jcmbx_stadocivilActionPerformed(evt);
            }
        });

        jtf_empamat.setName("jtf_empamat"); // NOI18N
        jtf_empamat.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jtf_empamatActionPerformed(evt);
            }
        });

        jLabel7.setText(resourceMap.getString("jLabel7.text")); // NOI18N
        jLabel7.setName("jLabel7"); // NOI18N

        jtf_empapat.setName("jtf_empapat"); // NOI18N
        jtf_empapat.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jtf_empapatActionPerformed(evt);
            }
        });

        jLabel6.setText(resourceMap.getString("jLabel6.text")); // NOI18N
        jLabel6.setName("jLabel6"); // NOI18N

        jtf_empnombre.setName("jtf_empnombre"); // NOI18N
        jtf_empnombre.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jtf_empnombreActionPerformed(evt);
            }
        });

        jLabel5.setText(resourceMap.getString("jLabel5.text")); // NOI18N
        jLabel5.setName("jLabel5"); // NOI18N

        jPanel7.setBorder(javax.swing.BorderFactory.createTitledBorder(resourceMap.getString("jPanel7.border.title"))); // NOI18N
        jPanel7.setName("jPanel7"); // NOI18N

        jLabel13.setText(resourceMap.getString("jLabel13.text")); // NOI18N
        jLabel13.setName("jLabel13"); // NOI18N

        jcmbx_departamento.setName("jcmbx_departamento"); // NOI18N
        jcmbx_departamento.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jcmbx_departamentoActionPerformed(evt);
            }
        });

        jLabel14.setText(resourceMap.getString("jLabel14.text")); // NOI18N
        jLabel14.setName("jLabel14"); // NOI18N

        jcmbx_puesto.setName("jcmbx_puesto"); // NOI18N

        jLabel15.setText(resourceMap.getString("jLabel15.text")); // NOI18N
        jLabel15.setName("jLabel15"); // NOI18N

        jcmbx_clasificacion.setName("jcmbx_clasificacion"); // NOI18N

        jLabel16.setText(resourceMap.getString("jLabel16.text")); // NOI18N
        jLabel16.setName("jLabel16"); // NOI18N

        jcmbx_empjefeinme.setName("jcmbx_empjefeinme"); // NOI18N

        jLabel19.setText(resourceMap.getString("jLabel19.text")); // NOI18N
        jLabel19.setName("jLabel19"); // NOI18N

        jcmbx_status.setName("jcmbx_status"); // NOI18N

        jLabel20.setText(resourceMap.getString("jLabel20.text")); // NOI18N
        jLabel20.setName("jLabel20"); // NOI18N

        jcmbx_razonbaja.setName("jcmbx_razonbaja"); // NOI18N

        jLabel18.setText(resourceMap.getString("jLabel18.text")); // NOI18N
        jLabel18.setName("jLabel18"); // NOI18N

        jtf_codigoidentifica.setName("jtf_codigoidentifica"); // NOI18N
        jtf_codigoidentifica.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jtf_codigoidentificaActionPerformed(evt);
            }
        });

        jchbx_verificacodigo.setText(resourceMap.getString("jchbx_verificacodigo.text")); // NOI18N
        jchbx_verificacodigo.setName("jchbx_verificacodigo"); // NOI18N
        jchbx_verificacodigo.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jchbx_verificacodigoActionPerformed(evt);
            }
        });

        jLabel1.setFont(resourceMap.getFont("jLabel1.font")); // NOI18N
        jLabel1.setText(resourceMap.getString("jLabel1.text")); // NOI18N
        jLabel1.setName("jLabel1"); // NOI18N

        jdc_fechaingreso.setToolTipText(resourceMap.getString("jdc_fechaingreso.toolTipText")); // NOI18N
        jdc_fechaingreso.setDateFormatString(resourceMap.getString("jdc_fechaingreso.dateFormatString")); // NOI18N
        jdc_fechaingreso.setName("jdc_fechaingreso"); // NOI18N
        jdc_fechaingreso.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyPressed(java.awt.event.KeyEvent evt) {
                jdc_fechaingresoKeyPressed(evt);
            }
        });

        jLabel54.setText(resourceMap.getString("jLabel54.text")); // NOI18N
        jLabel54.setName("jLabel54"); // NOI18N

        jtf_asist_horaent_pro.setText(resourceMap.getString("jtf_asist_horaent_pro.text")); // NOI18N
        jtf_asist_horaent_pro.setToolTipText(resourceMap.getString("jtf_asist_horaent_pro.toolTipText")); // NOI18N
        jtf_asist_horaent_pro.setFont(resourceMap.getFont("jtf_asist_horaent_pro.font")); // NOI18N
        jtf_asist_horaent_pro.setName("jtf_asist_horaent_pro"); // NOI18N
        jtf_asist_horaent_pro.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jtf_asist_horaent_proActionPerformed(evt);
            }
        });

        jLabel55.setText(resourceMap.getString("jLabel55.text")); // NOI18N
        jLabel55.setName("jLabel55"); // NOI18N

        jftf_asist_salidaprog.setText(resourceMap.getString("jftf_asist_salidaprog.text")); // NOI18N
        jftf_asist_salidaprog.setToolTipText(resourceMap.getString("jftf_asist_salidaprog.toolTipText")); // NOI18N
        jftf_asist_salidaprog.setFont(resourceMap.getFont("jftf_asist_salidaprog.font")); // NOI18N
        jftf_asist_salidaprog.setName("jftf_asist_salidaprog"); // NOI18N
        jftf_asist_salidaprog.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jftf_asist_salidaprogActionPerformed(evt);
            }
        });

        jLabel56.setText(resourceMap.getString("jLabel56.text")); // NOI18N
        jLabel56.setName("jLabel56"); // NOI18N

        jtf_minutoscomida.setFont(resourceMap.getFont("jtf_minutoscomida.font")); // NOI18N
        jtf_minutoscomida.setText(resourceMap.getString("jtf_minutoscomida.text")); // NOI18N
        jtf_minutoscomida.setName("jtf_minutoscomida"); // NOI18N
        jtf_minutoscomida.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jtf_minutoscomidaActionPerformed(evt);
            }
        });

        jLabel57.setText(resourceMap.getString("jLabel57.text")); // NOI18N
        jLabel57.setName("jLabel57"); // NOI18N

        jtf_asist_horaen_dcom.setText(resourceMap.getString("jtf_asist_horaen_dcom.text")); // NOI18N
        jtf_asist_horaen_dcom.setToolTipText(resourceMap.getString("jtf_asist_horaen_dcom.toolTipText")); // NOI18N
        jtf_asist_horaen_dcom.setFont(resourceMap.getFont("jtf_asist_horaen_dcom.font")); // NOI18N
        jtf_asist_horaen_dcom.setName("jtf_asist_horaen_dcom"); // NOI18N
        jtf_asist_horaen_dcom.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jtf_asist_horaen_dcomActionPerformed(evt);
            }
        });

        jLabel58.setText(resourceMap.getString("jLabel58.text")); // NOI18N
        jLabel58.setName("jLabel58"); // NOI18N

        jtf_asist_horasa_dcom.setText(resourceMap.getString("jtf_asist_horasa_dcom.text")); // NOI18N
        jtf_asist_horasa_dcom.setToolTipText(resourceMap.getString("jtf_asist_horasa_dcom.toolTipText")); // NOI18N
        jtf_asist_horasa_dcom.setFont(resourceMap.getFont("jtf_asist_horasa_dcom.font")); // NOI18N
        jtf_asist_horasa_dcom.setName("jtf_asist_horasa_dcom"); // NOI18N
        jtf_asist_horasa_dcom.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jtf_asist_horasa_dcomActionPerformed(evt);
            }
        });

        jLabel59.setText(resourceMap.getString("jLabel59.text")); // NOI18N
        jLabel59.setName("jLabel59"); // NOI18N

        jcmbx_ope_diadescanso.setName("jcmbx_ope_diadescanso"); // NOI18N
        jcmbx_ope_diadescanso.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jcmbx_ope_diadescansoActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout jPanel7Layout = new javax.swing.GroupLayout(jPanel7);
        jPanel7.setLayout(jPanel7Layout);
        jPanel7Layout.setHorizontalGroup(
            jPanel7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel7Layout.createSequentialGroup()
                .addGroup(jPanel7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addGroup(javax.swing.GroupLayout.Alignment.LEADING, jPanel7Layout.createSequentialGroup()
                        .addComponent(jLabel13)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jcmbx_departamento, javax.swing.GroupLayout.PREFERRED_SIZE, 154, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jLabel14)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jcmbx_puesto, 0, 168, Short.MAX_VALUE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jLabel16)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jcmbx_empjefeinme, javax.swing.GroupLayout.PREFERRED_SIZE, 102, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(jPanel7Layout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(jLabel15)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jcmbx_clasificacion, 0, 150, Short.MAX_VALUE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jLabel19)
                        .addGap(5, 5, 5)
                        .addComponent(jcmbx_status, 0, 117, Short.MAX_VALUE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jLabel20)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(jcmbx_razonbaja, javax.swing.GroupLayout.PREFERRED_SIZE, 171, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(jPanel7Layout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(jLabel18)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(jtf_codigoidentifica, javax.swing.GroupLayout.DEFAULT_SIZE, 167, Short.MAX_VALUE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jchbx_verificacodigo)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(jLabel1)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jdc_fechaingreso, javax.swing.GroupLayout.PREFERRED_SIZE, 143, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(jPanel7Layout.createSequentialGroup()
                        .addContainerGap()
                        .addGroup(jPanel7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                            .addGroup(jPanel7Layout.createSequentialGroup()
                                .addComponent(jLabel54, javax.swing.GroupLayout.PREFERRED_SIZE, 53, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(jtf_asist_horaent_pro, javax.swing.GroupLayout.PREFERRED_SIZE, 53, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(jLabel55)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(jftf_asist_salidaprog, javax.swing.GroupLayout.PREFERRED_SIZE, 48, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addGroup(jPanel7Layout.createSequentialGroup()
                                .addComponent(jLabel59)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(jcmbx_ope_diadescanso, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)))
                        .addGap(36, 36, 36)
                        .addComponent(jLabel56)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jtf_minutoscomida, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(jLabel57)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jtf_asist_horaen_dcom, javax.swing.GroupLayout.PREFERRED_SIZE, 53, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jLabel58)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jtf_asist_horasa_dcom, javax.swing.GroupLayout.PREFERRED_SIZE, 66, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 50, Short.MAX_VALUE)))
                .addContainerGap())
        );
        jPanel7Layout.setVerticalGroup(
            jPanel7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel7Layout.createSequentialGroup()
                .addGroup(jPanel7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(jLabel13)
                        .addComponent(jcmbx_departamento, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addComponent(jLabel14)
                    .addGroup(jPanel7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(jcmbx_puesto, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(jLabel16)
                        .addComponent(jcmbx_empjefeinme, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jcmbx_clasificacion, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel15)
                    .addComponent(jcmbx_status, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel19)
                    .addComponent(jLabel20)
                    .addComponent(jcmbx_razonbaja, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addGroup(jPanel7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(jLabel18)
                        .addComponent(jtf_codigoidentifica, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(jchbx_verificacodigo)
                        .addComponent(jLabel1))
                    .addComponent(jdc_fechaingreso, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jftf_asist_salidaprog, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel55)
                    .addComponent(jtf_asist_horaent_pro, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel54)
                    .addComponent(jLabel56)
                    .addComponent(jtf_minutoscomida, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jtf_asist_horasa_dcom, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel58)
                    .addComponent(jtf_asist_horaen_dcom, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel57))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addGroup(jPanel7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel59)
                    .addComponent(jcmbx_ope_diadescanso, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
        );

        jbtn_salir.setIcon(resourceMap.getIcon("jbtn_salir.icon")); // NOI18N
        jbtn_salir.setText(resourceMap.getString("jbtn_salir.text")); // NOI18N
        jbtn_salir.setName("jbtn_salir"); // NOI18N
        jbtn_salir.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jbtn_salirActionPerformed(evt);
            }
        });

        jbtn_ayuda.setIcon(resourceMap.getIcon("jbtn_ayuda.icon")); // NOI18N
        jbtn_ayuda.setText(resourceMap.getString("jbtn_ayuda.text")); // NOI18N
        jbtn_ayuda.setName("jbtn_ayuda"); // NOI18N

        jbtn_guardacambios.setIcon(resourceMap.getIcon("jbtn_guardacambios.icon")); // NOI18N
        jbtn_guardacambios.setText(resourceMap.getString("jbtn_guardacambios.text")); // NOI18N
        jbtn_guardacambios.setName("jbtn_guardacambios"); // NOI18N
        jbtn_guardacambios.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jbtn_guardacambiosActionPerformed(evt);
            }
        });

        jdc_fechanaci.setToolTipText(resourceMap.getString("jdc_fechanaci.toolTipText")); // NOI18N
        jdc_fechanaci.setDateFormatString(resourceMap.getString("jdc_fechanaci.dateFormatString")); // NOI18N
        jdc_fechanaci.setName("jdc_fechanaci"); // NOI18N
        jdc_fechanaci.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyPressed(java.awt.event.KeyEvent evt) {
                jdc_fechanaciKeyPressed(evt);
            }
        });

        jLabel33.setFont(resourceMap.getFont("jLabel33.font")); // NOI18N
        jLabel33.setText(resourceMap.getString("jLabel33.text")); // NOI18N
        jLabel33.setName("jLabel33"); // NOI18N

        javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
        jPanel1.setLayout(jPanel1Layout);
        jPanel1Layout.setHorizontalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel1Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel1Layout.createSequentialGroup()
                        .addComponent(jbtn_guardacambios)
                        .addGap(97, 97, 97)
                        .addComponent(jbtn_salir)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 190, Short.MAX_VALUE)
                        .addComponent(jbtn_ayuda)
                        .addGap(123, 123, 123))
                    .addGroup(jPanel1Layout.createSequentialGroup()
                        .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addGroup(javax.swing.GroupLayout.Alignment.LEADING, jPanel1Layout.createSequentialGroup()
                                .addComponent(jLabel17)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(jrbtn_sexomasculino)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(jrbtn_sexofemenino)
                                .addGap(38, 38, 38)
                                .addComponent(jLabel22)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                .addComponent(jcmbx_stadocivil, 0, 156, Short.MAX_VALUE))
                            .addGroup(javax.swing.GroupLayout.Alignment.LEADING, jPanel1Layout.createSequentialGroup()
                                .addComponent(jLabel5)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(jtf_empnombre, javax.swing.GroupLayout.PREFERRED_SIZE, 157, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                .addComponent(jLabel6)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(jtf_empapat, javax.swing.GroupLayout.PREFERRED_SIZE, 101, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addGap(12, 12, 12)
                                .addComponent(jLabel7)))
                        .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addGroup(jPanel1Layout.createSequentialGroup()
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(jtf_empamat, javax.swing.GroupLayout.PREFERRED_SIZE, 118, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addContainerGap(101, Short.MAX_VALUE))
                            .addGroup(jPanel1Layout.createSequentialGroup()
                                .addGap(10, 10, 10)
                                .addComponent(jLabel33)
                                .addGap(11, 11, 11)
                                .addComponent(jdc_fechanaci, javax.swing.GroupLayout.PREFERRED_SIZE, 106, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addContainerGap())))
                    .addGroup(jPanel1Layout.createSequentialGroup()
                        .addComponent(jPanel5, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addContainerGap())
                    .addGroup(jPanel1Layout.createSequentialGroup()
                        .addComponent(jPanel7, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addContainerGap())))
        );
        jPanel1Layout.setVerticalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel1Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(jLabel17)
                        .addComponent(jrbtn_sexomasculino)
                        .addComponent(jrbtn_sexofemenino)
                        .addComponent(jLabel22)
                        .addComponent(jcmbx_stadocivil, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(jLabel33))
                    .addComponent(jdc_fechanaci, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(27, 27, 27)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel5)
                    .addComponent(jtf_empnombre, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel6)
                    .addComponent(jtf_empapat, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel7)
                    .addComponent(jtf_empamat, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(18, 18, 18)
                .addComponent(jPanel5, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jPanel7, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jbtn_guardacambios)
                    .addComponent(jbtn_ayuda)
                    .addComponent(jbtn_salir))
                .addContainerGap())
        );

        jTabbedPane1.addTab(resourceMap.getString("jPanel1.TabConstraints.tabTitle"), jPanel1); // NOI18N

        jMenuBar1.setName("jMenuBar1"); // NOI18N

        jMenu1.setText(resourceMap.getString("jMenu1.text")); // NOI18N
        jMenu1.setName("jMenu1"); // NOI18N

        jmni_salir.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_S, java.awt.event.InputEvent.ALT_MASK));
        jmni_salir.setIcon(resourceMap.getIcon("jmni_salir.icon")); // NOI18N
        jmni_salir.setText(resourceMap.getString("jmni_salir.text")); // NOI18N
        jmni_salir.setName("jmni_salir"); // NOI18N
        jmni_salir.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jmni_salirActionPerformed(evt);
            }
        });
        jMenu1.add(jmni_salir);

        jMenuBar1.add(jMenu1);

        jMenu2.setText(resourceMap.getString("jMenu2.text")); // NOI18N
        jMenu2.setName("jMenu2"); // NOI18N

        jmni_escape.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_ESCAPE, 0));
        jmni_escape.setText(resourceMap.getString("jmni_escape.text")); // NOI18N
        jmni_escape.setName("jmni_escape"); // NOI18N
        jmni_escape.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jmni_escapeActionPerformed(evt);
            }
        });
        jMenu2.add(jmni_escape);

        jMenuBar1.add(jMenu2);

        setJMenuBar(jMenuBar1);

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jTabbedPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 676, Short.MAX_VALUE)
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jTabbedPane1)
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents

    private void jrbtn_sexomasculinoActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jrbtn_sexomasculinoActionPerformed
        // TODO add your handling code here:
        sexo=Integer.parseInt(evt.getActionCommand().toString());
}//GEN-LAST:event_jrbtn_sexomasculinoActionPerformed

    private void jrbtn_sexofemeninoActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jrbtn_sexofemeninoActionPerformed
        // TODO add your handling code here:
        sexo=Integer.parseInt(evt.getActionCommand().toString());
}//GEN-LAST:event_jrbtn_sexofemeninoActionPerformed

    private void jbtn_salirActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jbtn_salirActionPerformed
        // TODO add your handling code here:
        this.jmni_salirActionPerformed(evt);
}//GEN-LAST:event_jbtn_salirActionPerformed

    private void jbtn_guardacambiosActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jbtn_guardacambiosActionPerformed
        // TODO add your handling code here:
        int index=this.jcmbx_departamento.getSelectedIndex();
        if (index>0)
            {
            SimpleDateFormat formatofechaame = new SimpleDateFormat("dd-MM-yyyy");
                if(JOptionPane.showConfirmDialog(null,"<html><h3>Fecha Ingreso:</h3><h2>"+formatofechaame.format(jdc_fechaingreso.getDate())+" "+this.DiaSemana(formatofechaame.format(jdc_fechaingreso.getDate()))+"</h2><h3> Estan Correctos sus Datos?</h3><html>")==0) {
                this.guarda_empleado();
                }


            }
         else
            {
            JOptionPane.showMessageDialog(null,"Favor de Elegir Departamento", "Sistema Integral(Agregar Empleado) : Error",1);
            }
        
        
}//GEN-LAST:event_jbtn_guardacambiosActionPerformed

    private void jmni_salirActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jmni_salirActionPerformed
        // TODO add your handling code here:
                if(JOptionPane.showConfirmDialog(null, "Desea Salir?")==0) {
                            this.dispose();
                }

    }//GEN-LAST:event_jmni_salirActionPerformed

    private void jcmbx_stadocivilActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jcmbx_stadocivilActionPerformed
        // TODO add your handling code here:
         this.jtf_empnombre.requestFocus();
    }//GEN-LAST:event_jcmbx_stadocivilActionPerformed

    private void jtf_empnombreActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jtf_empnombreActionPerformed
        // TODO add your handling code here:
           this.jtf_empapat.requestFocus();
    }//GEN-LAST:event_jtf_empnombreActionPerformed

    private void jtf_empapatActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jtf_empapatActionPerformed
        // TODO add your handling code here:
                this.jtf_empamat.requestFocus();
    }//GEN-LAST:event_jtf_empapatActionPerformed

    private void jtf_empamatActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jtf_empamatActionPerformed
        // TODO add your handling code here:
                this.jtf_domcalle.requestFocus();
    }//GEN-LAST:event_jtf_empamatActionPerformed

    private void jtf_domcalleActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jtf_domcalleActionPerformed
        // TODO add your handling code here:
                this.jtf_domcolonia.requestFocus();
    }//GEN-LAST:event_jtf_domcalleActionPerformed

    private void jtf_domcoloniaActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jtf_domcoloniaActionPerformed
        // TODO add your handling code here:
                this.jtf_dompobla.requestFocus();
    }//GEN-LAST:event_jtf_domcoloniaActionPerformed

    private void jtf_dompoblaActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jtf_dompoblaActionPerformed
        // TODO add your handling code here:
                this.jtf_domcod.requestFocus();
    }//GEN-LAST:event_jtf_dompoblaActionPerformed

    private void jtf_domcodActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jtf_domcodActionPerformed
        // TODO add your handling code here:
                this.jtf_domtelefono.requestFocus();
    }//GEN-LAST:event_jtf_domcodActionPerformed

    private void jtf_domtelefonoActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jtf_domtelefonoActionPerformed
        // TODO add your handling code here:
                this.jtf_email.requestFocus();
    }//GEN-LAST:event_jtf_domtelefonoActionPerformed

    private void jtf_emailActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jtf_emailActionPerformed
        // TODO add your handling code here:
                this.jtf_empfoto.requestFocus();
    }//GEN-LAST:event_jtf_emailActionPerformed

    private void jtf_empfotoActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jtf_empfotoActionPerformed
        // TODO add your handling code here:
                this.jcmbx_departamento.requestFocus();
    }//GEN-LAST:event_jtf_empfotoActionPerformed

    private void jtf_codigoidentificaActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jtf_codigoidentificaActionPerformed
        // TODO add your handling code here:
        this.jchbx_verificacodigoActionPerformed(evt);
        this.jtf_asist_horaent_pro.requestFocus();

    }//GEN-LAST:event_jtf_codigoidentificaActionPerformed

    private void jmni_escapeActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jmni_escapeActionPerformed
        // TODO add your handling code here:
       this.jmni_salirActionPerformed(evt);
    }//GEN-LAST:event_jmni_escapeActionPerformed

    private void jchbx_verificacodigoActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jchbx_verificacodigoActionPerformed
        // TODO add your handling code here:
        if (this.jtf_codigoidentifica.getText().toString().length() > 0 ) {
            this.carga_datos_idbuscasieuno(this.jtf_codigoidentifica.getText().trim());
        }
}//GEN-LAST:event_jchbx_verificacodigoActionPerformed

    private void jdc_fechaingresoKeyPressed(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_jdc_fechaingresoKeyPressed
        // TODO add your handling code here:
}//GEN-LAST:event_jdc_fechaingresoKeyPressed

    private void jdc_fechanaciKeyPressed(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_jdc_fechanaciKeyPressed
        // TODO add your handling code here:
}//GEN-LAST:event_jdc_fechanaciKeyPressed

    private void jtf_asist_horaent_proActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jtf_asist_horaent_proActionPerformed
        // TODO add your handling code here:
        this.jftf_asist_salidaprog.requestFocus();
}//GEN-LAST:event_jtf_asist_horaent_proActionPerformed

    private void jftf_asist_salidaprogActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jftf_asist_salidaprogActionPerformed
        // TODO add your handling code here:
        this.jtf_minutoscomida.requestFocus();
}//GEN-LAST:event_jftf_asist_salidaprogActionPerformed

    private void jtf_minutoscomidaActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jtf_minutoscomidaActionPerformed
        // TODO add your handling code here:
        this.jtf_asist_horaen_dcom.requestFocus();
}//GEN-LAST:event_jtf_minutoscomidaActionPerformed

    private void jtf_asist_horaen_dcomActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jtf_asist_horaen_dcomActionPerformed
        // TODO add your handling code here:
        this.jtf_asist_horasa_dcom.requestFocus();
}//GEN-LAST:event_jtf_asist_horaen_dcomActionPerformed

    private void jtf_asist_horasa_dcomActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jtf_asist_horasa_dcomActionPerformed
        // TODO add your handling code here:
        this.jcmbx_ope_diadescanso.requestFocus();
       // this.jbtn_asist_guardarcambios.requestFocus();
}//GEN-LAST:event_jtf_asist_horasa_dcomActionPerformed

    private void jcmbx_ope_diadescansoActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jcmbx_ope_diadescansoActionPerformed
        // TODO add your handling code here:
               
}//GEN-LAST:event_jcmbx_ope_diadescansoActionPerformed

    private void jcmbx_departamentoActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jcmbx_departamentoActionPerformed
        // TODO add your handling code here:
        if(combohora>0)
                {
                    String arreglo_de[]=null;
                    arreglo_de=this.jcmbx_departamento.getSelectedItem().toString().split(":");
                    this.carga_datos_depaentrada(arreglo_de[0]);
                }
    }//GEN-LAST:event_jcmbx_departamentoActionPerformed

    /**
    * @param args the command line arguments
    */
    public static void main(String args[]) {
        java.awt.EventQueue.invokeLater(new Runnable() {
            public void run() {
                rh_empleados_alta dialog = new rh_empleados_alta(new javax.swing.JFrame(), true);
                dialog.addWindowListener(new java.awt.event.WindowAdapter() {
                    public void windowClosing(java.awt.event.WindowEvent e) {
                        System.exit(0);
                    }
                });
                dialog.setVisible(true);
            }
        });
    }

    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.ButtonGroup buttonGroup1;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLabel jLabel10;
    private javax.swing.JLabel jLabel11;
    private javax.swing.JLabel jLabel12;
    private javax.swing.JLabel jLabel13;
    private javax.swing.JLabel jLabel14;
    private javax.swing.JLabel jLabel15;
    private javax.swing.JLabel jLabel16;
    private javax.swing.JLabel jLabel17;
    private javax.swing.JLabel jLabel18;
    private javax.swing.JLabel jLabel19;
    private javax.swing.JLabel jLabel20;
    private javax.swing.JLabel jLabel21;
    private javax.swing.JLabel jLabel22;
    private javax.swing.JLabel jLabel23;
    private javax.swing.JLabel jLabel33;
    private javax.swing.JLabel jLabel5;
    private javax.swing.JLabel jLabel54;
    private javax.swing.JLabel jLabel55;
    private javax.swing.JLabel jLabel56;
    private javax.swing.JLabel jLabel57;
    private javax.swing.JLabel jLabel58;
    private javax.swing.JLabel jLabel59;
    private javax.swing.JLabel jLabel6;
    private javax.swing.JLabel jLabel7;
    private javax.swing.JLabel jLabel8;
    private javax.swing.JLabel jLabel9;
    private javax.swing.JMenu jMenu1;
    private javax.swing.JMenu jMenu2;
    private javax.swing.JMenuBar jMenuBar1;
    private javax.swing.JPanel jPanel1;
    private javax.swing.JPanel jPanel5;
    private javax.swing.JPanel jPanel7;
    private javax.swing.JTabbedPane jTabbedPane1;
    private javax.swing.JButton jbtn_ayuda;
    private javax.swing.JButton jbtn_guardacambios;
    private javax.swing.JButton jbtn_salir;
    private javax.swing.JCheckBox jchbx_verificacodigo;
    private javax.swing.JComboBox jcmbx_clasificacion;
    private javax.swing.JComboBox jcmbx_departamento;
    private javax.swing.JComboBox jcmbx_empjefeinme;
    private javax.swing.JComboBox jcmbx_ope_diadescanso;
    private javax.swing.JComboBox jcmbx_puesto;
    private javax.swing.JComboBox jcmbx_razonbaja;
    private javax.swing.JComboBox jcmbx_stadocivil;
    private javax.swing.JComboBox jcmbx_status;
    private com.toedter.calendar.JDateChooser jdc_fechaingreso;
    private com.toedter.calendar.JDateChooser jdc_fechanaci;
    private javax.swing.JFormattedTextField jftf_asist_salidaprog;
    private javax.swing.JMenuItem jmni_escape;
    private javax.swing.JMenuItem jmni_salir;
    private javax.swing.JRadioButton jrbtn_sexofemenino;
    private javax.swing.JRadioButton jrbtn_sexomasculino;
    private javax.swing.JFormattedTextField jtf_asist_horaen_dcom;
    private javax.swing.JFormattedTextField jtf_asist_horaent_pro;
    private javax.swing.JFormattedTextField jtf_asist_horasa_dcom;
    private javax.swing.JTextField jtf_codigoidentifica;
    private javax.swing.JTextField jtf_domcalle;
    private javax.swing.JTextField jtf_domcod;
    private javax.swing.JTextField jtf_domcolonia;
    private javax.swing.JTextField jtf_dompobla;
    private javax.swing.JTextField jtf_domtelefono;
    private javax.swing.JTextField jtf_email;
    private javax.swing.JTextField jtf_empamat;
    private javax.swing.JTextField jtf_empapat;
    private javax.swing.JTextField jtf_empfoto;
    private javax.swing.JTextField jtf_empnombre;
    private javax.swing.JTextField jtf_minutoscomida;
    // End of variables declaration//GEN-END:variables

}
